import routerView from '@/components/pubComp/routerView.vue';
const pre = 'setUp-'
export default {
    path: '/setUp',
    name: 'setUp',
    meta: {
        title: '设置'
    },
    redirect: {
        name: `${pre}setUp`
    },
    component: routerView,
    children: [
        {
            path: 'index',
            name: `${pre}index`,
            meta: {
                title: '设置',
                closable: false
            },
            component: () => import('@/views/platframe/setUp/index')
        },
        {
            path: 'about',
            name: `${pre}about`,
            meta: {
                title: '关于',
                closable: false
            },
            component: () => import('@/views/platframe/setUp/about')
        },
        {
            path: '/myRoom',
            name: `${pre}index`,
            meta: {
                title: '所属房间设置',
                closable: false
            },
            component: () => import('@/views/platframe/myRoom/index')
        },
        {
            path: '/wallet',
            name: `wallet-index`,
            meta: {
                title: '我的钱包',
                closable: false
            },
            component: () => import('@/views/platframe/wallet/index'),
        },
        {
            path: '/wallet/details',
            name: `wallet-details`,
            meta: {
                title: '钱包详情',
                closable: false
            },
            component: () => import('@/views/platframe/wallet/details.vue')
        },
        {
            path: '/questionnaire',
            name: `questionnaire-index`,
            meta: {
                title: '我的问卷',
                closable: false
            },
            component: () => import('@/views/platframe/questionnaire/index'),
        },
        {
            path: '/questionnaire/details',
            name: `questionnaire-details`,
            meta: {
                title: '问卷详情',
                closable: false
            },
            component: () => import('@/views/platframe/questionnaire/details.vue')
        },
    ]
}